package com.huakai.springenv.utils;

public class SleepUtils {
    public static void waitTime(long ms) {
        final long l = System.currentTimeMillis();
        while (System.currentTimeMillis() <= l + ms) {
        }
    }

    public static void sleep(long ms) throws InterruptedException {
        Thread.sleep(ms);
    }

}
